<template lang="pug">
.app-container
  // 搜索栏
  el-form(:model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch")
    el-form-item(label="标签名称")
      el-input(
        v-model="queryParams.title"
        placeholder="请输入标签名称"
        clearable
        style="..."
        @keyup.enter.native="handleQuery"
      )
    el-form-item(label="状态" prop="status")
      el-select(
        v-model="queryParams.status"
        placeholder="请选择状态"
        clearable
        style="..."
      )
        el-option(
          v-for="dict in dict.type.sys_normal_disable"
          :key="dict.value"
          :label="dict.label"
          :value="dict.value"
        )
    el-form-item
      el-button(type="primary" icon="el-icon-search" size="mini" @click="handleQuery") 搜索
      el-button(icon="el-icon-refresh" size="mini" @click="resetQuery") 重置

  // 工具栏按钮
  el-row.mb8(:gutter="10")
    el-col(:span="1.5")
      el-button(
        type="primary"
        plain
        icon="el-icon-plus"
        size="mini"
        @click="handleAdd"
      ) 新增

  // 表格
  el-table(v-loading="loading" :data="list" @selection-change="handleSelectionChange")
    el-table-column(type="selection" width="55" align="center")
    // el-table-column(prop="id" v-if="false")

</template>
<script>
</script>
